﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using PDFToolModule;

using System.IO;

namespace PDFTest
{
    class Program
    {
        static void Main(string[] args)
        {
            PdfTools pdfTool = new PdfTools(@"c:\test\1\test.pdf");
            Console.WriteLine("Page Count == " + pdfTool.PageCount);
            Console.WriteLine("pdfname " + pdfTool.PdfName);
            
            //image to pdf 변환 테스트
            //PdfTools pdfTool = new PdfTools();
            //pdfTool.imageToPdf(@"D:\test\test\0001.jpg.pdf", @"D:\test\test\0001.jpg");
            //pdfTool.imageToPdf(@"D:\test\test\0001.png.pdf", @"D:\test\test\0001.png");
        }
    }
}
